<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<title>title</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.js"></script>
<script type="text/javascript">
	function showList() {
		location.href="/OffTheRecord/getBoardListByPage.action?pageNo=1";
	}
</script>
</head>
<body>
<c:import url="../common/top.jsp"></c:import>
<div class="container" style="margin: 30px;"></div>

<div class="container">
<div class="row">
<div class="col-sm-2 col-md-2- col-lg-2"></div>
<!--  -->
<div class="col-xs-12 col-sm-8 col-md-8- col-lg-8">
	<hr color="lightgray">
<div class="bs-example">
	  <div style="height: 10px; background-color: white;"></div>
	  <font style="font-weight: bold; font-size: 20px;">미리보기</font><p><p>
      <div class="table-responsive">
        <table class="table">
          <tr>
          	<td>
          		<font color="#8C8C8C" size="2px">글번호 : </font>
            	<font style="font-weight: bold;">${requestScope.map.bvo.boardId }</font>
          	</td>
            <td colspan="2">
            	<font color="#8C8C8C" size="2px">제목 : </font>
            	<font style="font-weight: bold;">${ requestScope.map.bvo.boardTitle }</font>
           	</td>
          	<td align="right">
          		<font color="#8C8C8C">${ requestScope.map.bvo.boardWriteDate }</font>
          	</td>
          </tr>
          <tr>
            <td>
            	<font color="#8C8C8C" size="2px">작성자 : </font>
            	${ requestScope.map.bvo.boardUserId }
            </td>
            <td>
            	<font color="#8C8C8C" size="2px">조회수 : </font>
            	${ requestScope.map.bvo.boardHits }
            </td>
            <td align="right" colspan="2">
           		<font color="#8C8C8C" size="2px">첨부파일 : </font>
         		${ requestScope.map.fvo.fileName }<br>
           	</td>
          </tr>
          <tr>
            <td colspan="4">${ requestScope.map.bvo.boardContent }</td>
          </tr>
        </table>
      </div><p>
      <div align="center"><br>
	  <input type="button" value="확인" onclick="showList()" class="btn btn-default btn-sm">&nbsp;
	  </div>
</div>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
</body>
</html>